package org.shop.service.impl;

import java.util.List;
import java.util.Map;

import org.shop.dao.StatisticalMapper;
import org.shop.service.StatisticalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class StatisticalServiceImpl implements StatisticalService {
	
	@Autowired
	private StatisticalMapper statisticalMapper;
	
	public List<Map<String, Object>> getGoodsMonthPurchaseCount(Map<String, Object> paramMap){
		return statisticalMapper.getGoodsMonthPurchaseCount(paramMap);
	}
	
	public List<Map<String, Object>> getGoodsDayPurchaseCount(Map<String, Object> paramMap){
		return statisticalMapper.getGoodsDayPurchaseCount(paramMap);
	}
	
	@Override
	public List<Map<String, Object>> getGoodsPurchaseCount(Map<String, Object> paramMap) {
		return statisticalMapper.getGoodsPurchaseCount(paramMap);
	}
	
	@Override
	public List<Map<String, Object>> getMerchantPurchaseCount(Map<String, Object> paramMap) {
		return statisticalMapper.getMerchantPurchaseCount(paramMap);
	}
	@Override
	public List<Map<String, Object>> getMerchantOfGoodsPageView(Map<String, Object> paramMap) {
		return statisticalMapper.getMerchantOfGoodsPageView(paramMap);
	}

	@Override
	public List<Map<String, Object>> getMerchantOfSalesMoney(Map<String, Object> paramMap) {
		return statisticalMapper.getMerchantOfSalesMoney(paramMap);
	}

	@Override
	public List<Map<String, Object>> getGoodsMonthOfSalesMoney(Map<String, Object> paramMap) {
		return statisticalMapper.getGoodsMonthOfSalesMoney(paramMap);
	}

	@Override
	public List<Map<String, Object>> getUserOfMonthLoginRecord(Map<String, Object> paramMap) {
		return statisticalMapper.getUserOfMonthLoginRecord(paramMap);
	}

	@Override
	public List<Map<String, Object>> getUserOfDayLoginRecord(Map<String, Object> paramMap) {
		return statisticalMapper.getUserOfDayLoginRecord(paramMap);
	}

	@Override
	public List<Map<String, Object>> getGoodsOfPageView(Long merchantId) {
		return statisticalMapper.getGoodsOfPageView(merchantId);
	}
	
}
